//---------------------------------------------------------------------------

#ifndef Unit1H
#define Unit1H
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include <ComCtrls.hpp>
#include <Menus.hpp>
#include <Dialogs.hpp>
//---------------------------------------------------------------------------
#include <canlib.h>
struct TWMCanLib
{
    Cardinal Msg;
    DWORD hnd;
    WORD event;
    WORD _pad;
    Longint Result;
};
class TForm1 : public TForm
{
__published:	// IDE-managed Components
        TRadioGroup *RadioGroup1;
        TRadioGroup *RadioGroup2;
        TRadioGroup *RadioGroup3;
        TRadioGroup *RadioGroup4;
        TMemo *Memo1;
        TButton *Button1;
        TButton *Button2;
        TButton *Button3;
        TButton *Button4;
        TPopupMenu *PopupMenu1;
        TMenuItem *FixedPosition1;
        TMenuItem *Save1;
        TMenuItem *Filter1;
        TMenuItem *All1;
        TMenuItem *LeftStatus1;
        TMenuItem *RightStatus1;
        TMenuItem *LeftDTC1;
        TMenuItem *RightStatus2;
        TMenuItem *RightDtc1;
        TMenuItem *RightDtc2;
        TSaveDialog *SaveDialog1;
        TTimer *Timer1;
        TMenuItem *None1;
        TButton *Button5;
        void __fastcall FormCreate(TObject *Sender);
        void __fastcall Button1Click(TObject *Sender);
//---------------------------------------------------------------------------



//---------------------------------------------------------------------------
private:	// User declarations
        int Handle1, Handle2;
public:
       		// User declarations
        __fastcall TForm1(TComponent* Owner);
protected:
        void __fastcall WMCanLib(TWMCanLib& Message);
        BEGIN_MESSAGE_MAP
        MESSAGE_HANDLER(WM__CANLIB, TWMCanLib, WMCanLib);
        END_MESSAGE_MAP(TForm)
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif
